package com.neussoft.neu24.dibuy.service;

import com.neussoft.neu24.dibuy.entity.DemoUser;
import reactor.core.publisher.Mono;

/**
 * @program: learn
 * @description:
 * @author: Jingdi.Duan ,duanjingdi@msn.com
 * @create: 2024-07-10 15:34
 **/

public interface IUserService {
    Mono<DemoUser> addUser(DemoUser user);

    default Mono<DemoUser> findByUsername(String username) {
        return Mono.empty();
    }
}
